package com.ant.storage.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/12/10 9:35
 */
@Data
public class MergeDto {

    private List<Integer>  id;

    @ApiModelProperty(value = "采购类型")
    @TableField("purchase_type")
    private String purchaseType;

    @ApiModelProperty(value = "部门id")
    private Integer departmentId;

    @ApiModelProperty(value = "采购人id")
    private Integer purchaserId;

    @ApiModelProperty(value = "申请人id")
    private Integer proposerId;

    @ApiModelProperty(value = "付款方式")
    private Integer paymentMethod;


    @ApiModelProperty(value = "支付方式")
    private String payType;


    @ApiModelProperty(value = "采购渠道")
    private Integer channel;

    @ApiModelProperty(value = "审核人")
    @TableField(exist = false)
    private List<String> approval;

    @ApiModelProperty(value = "抄送人")
    @TableField(exist = false)
    private List<String> notify;

    @ApiModelProperty(value = "钉钉申请人Id")
    @TableField(exist = false)
    private String userId;

    @ApiModelProperty(value = "是否审批")
    private Integer isApproved;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "申请金额")
    private BigDecimal price;

    private  String creatorBy;

    @ApiModelProperty(value = "申请部门")
    private  String departmentName;

    @ApiModelProperty(value = "城市")
    private  String cityName;


    @ApiModelProperty(value = "收款单位")
    private String payee;

    @ApiModelProperty(value = "开户行")
    @TableField("opening_bank")
    private String openingBank;

    @ApiModelProperty(value = "账号")
    @TableField("account_number")
    private String accountNumber;

    @ApiModelProperty(value = "请款日期")
    @TableField(exist = false)
    private String date;

    @ApiModelProperty(value = "公司名称")
    @TableField(exist = false)
    private String companyName;


    @ApiModelProperty(value = "紧急程度")
    @TableField(exist = false)
    private String urgency;

    @ApiModelProperty(value = "单位")
    @TableField(exist = false)
    private String unit;
}
